package b1.mobile.blackberry.ui.component;

import net.rim.device.api.i18n.Locale;
import net.rim.device.api.ui.Graphics;

public class TextField extends net.rim.device.api.ui.component.TextField {
	
	static int frontColor = 0x00333333;
	private int width;
	
	public TextField(long style) {
		super(style);
//		setEditable(false);
	}
	
	public TextField(int width, long style) {
		this(style);
		this.width = width;
	}
	
	public int getPreferredWidth() {
		return this.width;
	}
	
	public Locale getPreferredInputLocale() {
		// TODO Auto-generated method stub
		return null;
	}

	public int getTextInputStyle() {
		// TODO Auto-generated method stub
		return 0;
	}

	public boolean isUnicodeInputAllowed() {
		// TODO Auto-generated method stub
		return false;
	}

	public void updateInputStyle() {
		// TODO Auto-generated method stub
	}
	
	protected void paint(Graphics g) {
		g.setColor(frontColor);
		super.paint(g);
	}
}
